package org.jeecg.modules.sggg.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 短信管理表
 * @Author: jeecg-boot
 * @Date: 2023-05-11
 * @Version: V1.0
 */
@Data
@TableName("sg_sms")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "sg_sms对象", description = "短信管理表")
public class SgSms implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 是否开始短信
     */
    @Excel(name = "是否开始短信", width = 15)
    @ApiModelProperty(value = "是否开始短信")
    private Integer isSms;
    /**
     * 访问密钥
     */
    @Excel(name = "访问密钥", width = 15)
    @ApiModelProperty(value = "访问密钥")
    private String accessKey;
    /**
     * 密钥
     */
    @Excel(name = "密钥", width = 15)
    @ApiModelProperty(value = "密钥")
    private String secretKey;
    /**
     * 短信签名
     */
    @Excel(name = "短信签名", width = 15)
    @ApiModelProperty(value = "短信签名")
    private String signName;
    /**
     * 短信模板code
     */
    @Excel(name = "短信模板code", width = 15)
    @ApiModelProperty(value = "短信模板code")
    private String templateCode;
    /**
     * 模板变量
     */
    @Excel(name = "模板变量", width = 15)
    @ApiModelProperty(value = "模板变量")
    private String templateParam;
    /**
     * 短信类型
     */
    @Excel(name = "短信类型", width = 15)
    @ApiModelProperty(value = "短信类型")
    private Integer smsType;

    /**
     * 机构id
     */
    @ApiModelProperty(value = "机构id")
    @TableField(exist = false)
    private String departId;
}
